function CoordinateUtils() {
	this.setCoordinates = setCoordinates;
	this.getCoordinateObjectsFromContent = getCoordinateObjectsFromContent;

	function setCoordinates(version, coordinates, regCoordinates) {
		version.coordinates = getCoordinateObjectsFromContent(regCoordinates,
				coordinates);
	}

	// get the full json coord e.g. from the registry object for a each of the
	// specific element content in the array
	function getCoordinateObjectsFromContent(dascoordinatesystem, coordContent) {
		var coordObjects = [];
		for ( var i = 0; i < dascoordinatesystem.coordinates.length; i++) {
			var coord = dascoordinatesystem.coordinates[i];
			//alert(coord.content);
			for ( var j=0; j < coordContent.length; j++) {
				//alert("content="+coordContent[j]);
				if (coord.content == coordContent[j]){
					
					coordObjects.push(coord);
				}
			}

		}
		// return an array of json coordinate ojbects
		return coordObjects;
	}

};